/********************************************************/
/*	Copyright (C) 2012 Gong Li Bin			*/
/*	Project:	MapReduce			*/
/*	Author:		gong_libin			*/
/*	Date:		2012_11_30			*/
/*	File:		MrIos.h				*/
/********************************************************/

#ifndef _MRIOS_H
#define	_MRIOS_H

#include "MrCmd.h"

typedef struct tagMrIos
{
	float m_fRrq;
	float m_fWrq;
	float m_fR_s;
	float m_fW_s;
	float m_fRse;
	float m_fWse;
	float m_fRkb;
	float m_fWkb;
	float m_fRqs;
	float m_fQus;
	float m_fWai;
	float m_fSvc;
	float m_fUtl;
}MRIOS_S;

class CMrIos : public CMrCmd
{
public:
	CMrIos();
	virtual ~CMrIos();

	void MrIosInfo(char* pszResult);

	virtual void* MrCmdResultGet();
	virtual void MrCmdResultReset();
	virtual void MrCmdResultSet(void* pResult);

	virtual void MrCmdDisplay();
	virtual void MrCmdInfo(char* pszResult);
	virtual void MrCmdResultInput(UCHAR* puszBuffer, int iLength);
	virtual int MrCmdResultOutput(UCHAR* puszBuffer, USHORT* pusTotal);

private:
	MRIOS_S m_stIos;

};

#endif /* _MRIOS_H */
